package com.crm.dao;

import com.crm.model.DepartmentDutyRoleLink;
import com.crm.model.DepartmentDutyRoleLinkExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DepartmentDutyRoleLinkMapper {
    int countByExample(DepartmentDutyRoleLinkExample example);

    int deleteByExample(DepartmentDutyRoleLinkExample example);

    int deleteByPrimaryKey(String departmentDutyRoleId);

    int insert(DepartmentDutyRoleLink record);

    int insertSelective(DepartmentDutyRoleLink record);

    List<DepartmentDutyRoleLink> selectByExample(DepartmentDutyRoleLinkExample example);

    DepartmentDutyRoleLink selectByPrimaryKey(String departmentDutyRoleId);

    int updateByExampleSelective(@Param("record") DepartmentDutyRoleLink record, @Param("example") DepartmentDutyRoleLinkExample example);

    int updateByExample(@Param("record") DepartmentDutyRoleLink record, @Param("example") DepartmentDutyRoleLinkExample example);

    int updateByPrimaryKeySelective(DepartmentDutyRoleLink record);

    int updateByPrimaryKey(DepartmentDutyRoleLink record);
}